package com.wjggy.core.entities;
public class Posts implements java.io.Serializable {
	private static final long serialVersionUID=1L;
	protected java.lang.Long postsid = null; //标识符
	protected java.lang.Long postauthor = null; //作者
	protected java.lang.String updatedate = null; //
	protected java.lang.String postdate = null; //新增时间
	protected java.lang.String postcontent = null; //内容
	protected java.lang.String posttitle = null; //标题
	protected java.lang.String postexcerpt = null; //摘要
	protected java.lang.String poststatus = null; //状态
	protected java.lang.Long forumsid = null; //类别 系统类别
	protected java.lang.Long groupid = null; //组 扩展用
	protected java.lang.String posttype = null; //贴子类型
	protected java.lang.Boolean commentstatus = null; //评论是否开启 1开启 0关闭
	protected java.lang.Integer commentcount = null; //评论数
	protected String forumName;
	protected String authorName;
	protected Long categoryid=null; //板块id
	protected String categoryName=null;//板块名称

	public Posts() {
	}
	
	public Long getCategoryid() {
		return categoryid;
	}

	public void setCategoryid(Long categoryid) {
		this.categoryid = categoryid;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getTableName() {
		return "posts";
	}
	public java.lang.Long getPostsid() {
		return postsid;
	}
	public void setPostsid(java.lang.Long postsid) {
		 this.postsid=postsid;
	}
	public java.lang.Long getPostauthor() {
		return postauthor;
	}
	public void setPostauthor(java.lang.Long postauthor) {
		 this.postauthor=postauthor;
	}
	public java.lang.String getUpdatedate() {
		return updatedate;
	}
	public void setUpdatedate(java.lang.String updatedate) {
		 this.updatedate=updatedate;
	}
	public java.lang.String getPostdate() {
		return postdate;
	}
	public void setPostdate(java.lang.String postdate) {
		 this.postdate=postdate;
	}
	public java.lang.String getPostcontent() {
		return postcontent;
	}
	public void setPostcontent(java.lang.String postcontent) {
		 this.postcontent=postcontent;
	}
	public java.lang.String getPosttitle() {
		return posttitle;
	}
	public void setPosttitle(java.lang.String posttitle) {
		 this.posttitle=posttitle;
	}
	public java.lang.String getPostexcerpt() {
		return postexcerpt;
	}
	public void setPostexcerpt(java.lang.String postexcerpt) {
		 this.postexcerpt=postexcerpt;
	}
	public java.lang.String getPoststatus() {
		return poststatus;
	}
	public void setPoststatus(java.lang.String poststatus) {
		 this.poststatus=poststatus;
	}
	public java.lang.Long getForumsid() {
		return forumsid;
	}
	public void setForumsid(java.lang.Long forumsid) {
		 this.forumsid=forumsid;
	}
	public java.lang.Long getGroupid() {
		return groupid;
	}
	public void setGroupid(java.lang.Long groupid) {
		 this.groupid=groupid;
	}
	public java.lang.String getPosttype() {
		return posttype;
	}
	public void setPosttype(java.lang.String posttype) {
		 this.posttype=posttype;
	}
	public java.lang.Boolean getCommentstatus() {
		return commentstatus;
	}
	public void setCommentstatus(java.lang.Boolean commentstatus) {
		 this.commentstatus=commentstatus;
	}
	public java.lang.Integer getCommentcount() {
		return commentcount;
	}
	public void setCommentcount(java.lang.Integer commentcount) {
		 this.commentcount=commentcount;
	}

	public String getForumName() {
		return forumName;
	}

	public void setForumName(String forumName) {
		this.forumName = forumName;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}
	
}
